<template>
    <view :style="themeColor">
        <view class="page" >
    <view class="flex benben-position-layout flex flex-wrap align-center settleAccountsInfo_flex_0"    :style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
            <view   class='flex flex-wrap align-center justify-between flex-sub settleAccountsInfo_fd0_0'      >
            <view   class='flex flex-wrap align-center settleAccountsInfo_fd0_0_c0'    @tap.stop="handleJumpDiy" data-type="back" data-url="1"   >
        <text class='fu-iconfont2  settleAccountsInfo_fd0_0_c0_c0'    >&#xE794;</text>
</view>
    <view   class='flex flex-wrap align-stretch justify-center'      >
        <text class='settleAccountsInfo_fd0_0_c1_c0'  >结算详情</text>
</view>
    <view   class='flex flex-wrap align-center justify-end settleAccountsInfo_fd0_0_c0'      >
        </view>
</view>

        </view>
<view :style="{height: (88+StatusBarRpx)+'rpx'}"  ></view>
<!---flex布局flex布局开始-->
 <view class="flex flex-direction flex-wrap align-center benben-flex-layout settleAccountsInfo_flex_1"    >
            <view   class='flex flex-wrap align-center settleAccountsInfo_fd1_0'      >
        <text class='settleAccountsInfo_fd1_0_c0'  >+</text>
<text class=' settleAccountsInfo_fd1_0_c1'   >
    <text >{{ dataDetail.change_money | frontPrice }}</text>
    <text >{{ dataDetail.change_money | laterPrice }}</text>
</text>
</view>
    <view   class='flex flex-wrap align-center'      >
        <text class='settleAccountsInfo_fd1_1_c0'    v-if= " dataDetail.is_delete=='2'"  >已入账</text><text class='settleAccountsInfo_fd1_1_c0'    v-if= " dataDetail.is_delete=='1'"  >未入账</text>
</view>
</view>
        
<!---flex布局flex布局结束-->
<!---flex布局flex布局开始-->
 <view class="flex flex-direction flex-wrap align-stretch benben-flex-layout settleAccountsInfo_flex_2"    >
            <view   class='flex flex-wrap align-center settleAccountsInfo_fd2_0'      >
        <text class='settleAccountsInfo_fd2_0_c0'  >收益金额：</text>
<text class='settleAccountsInfo_fd2_0_c1'  >￥</text>
<text class='settleAccountsInfo_fd2_0_c2'  >{{dataDetail.change_money}}</text>
</view>
    <view   class='flex flex-wrap align-center settleAccountsInfo_fd2_1'      >
        <text   >订单编号：</text>
<text   >{{dataDetail.order_sn}}</text>
</view>
    <view   class='flex flex-wrap align-center settleAccountsInfo_fd2_1'      >
        <text   >订单金额：</text>
<text   >{{dataDetail.goods_money}}</text>
</view>
    <view   class='flex flex-wrap align-center settleAccountsInfo_fd2_1'      >
        <text   >结算时间：</text>
<text   >{{dataDetail.create_time}}</text>
</view>
    <view   class='flex flex-wrap align-center settleAccountsInfo_fd2_1'      >
        <text   >结算类型：</text>
<text   >{{dataDetail.change_type_text}}</text>
</view>
    <view   class='flex align-start settleAccountsInfo_fd2_5'      >
        <text   >备注说明：</text>
<text class='flex-sub'  >{{dataDetail.remark}}</text>
</view>
</view>
        
<!---flex布局flex布局结束-->
    
    
        </view>
    </view>
</template>
<script>
    import {validate} from '@/common/utils/validate.js'
    
    export default {
        components:{},
        
        
        data(){
			return {"dataDetail":{"aid":"","change_type":"","change_money":"","sell_level":"","goods_money":"","goods_id":"","sku_id":"","remark":"","create_time":"","order_sn":"","change_type_text":"","is_delete":""},"aid":""};
		},
		computed:{
            themeColor() {
              return this.$store.getters.themeColor
            },
            
		},
		watch:{},
		onLoad(options){
            let {aid}=options
if (aid !== undefined) this.aid = aid
this.getDetailFunc()
		},
        onUnload() {
                
        },
		onReady(){
            
		},
		onShow(){
            
		},
		onHide(){
            
		},
		onResize(){
            
		},
		onPullDownRefresh(){
            
		},
		onReachBottom(e){
            
		},
		onPageScroll(e){
            
		},
		methods:{
                            //获取结算详情
                async getDetailFunc(){
                        //请求方法
    //数据验证
    
  let datadataDetail = await this.$api.post(global.apiUrls.post64dddf42c084b, {
    aid:this.aid
  });
  
  if (datadataDetail.data.code != 1) {
    this.$message.info(datadataDetail.data.msg);
    return
  } 
  let infodataDetail = datadataDetail.data;
  this.dataDetail = infodataDetail.data
  
                }
		}
    };
</script> 
<style lang="scss" scoped>
           .page{
            width: 100vw;
            overflow-x: hidden;
            min-height: calc(100vh - var(--window-bottom));
            background:#F8F8F8;background-size: 100% auto;
        }
    .settleAccountsInfo_flex_0{
        background:#fff;width:750rpx;height:88rpx;overflow:hidden;z-index:10;top:0rpx;background-size:100% auto !important;
    }
    .settleAccountsInfo_fd0_0_c1_c0{
        font-size:36rpx;font-weight:700;color:#333;line-height:88rpx;
    }
    .settleAccountsInfo_fd0_0_c0_c0{
        font-size:36rpx;color:#333;
    }
    .settleAccountsInfo_fd0_0_c0{
        width:120rpx;
    }
    .settleAccountsInfo_fd0_0{
        padding:0rpx 32rpx 0rpx 32rpx;
    }
    .settleAccountsInfo_flex_1{
        border-bottom:5px solid #eee;background:var(--benbenbgColor1);height:262rpx;background-size:100% auto;
    }
    .settleAccountsInfo_fd1_1_c0{
        color:var(--benbenFontColor2);font-size:28rpx;margin:24rpx 0rpx 0rpx 0rpx;
    }
    .settleAccountsInfo_fd1_0_c1{
        color:var(--benbenFontColor7);font-weight:700;font-size:64rpx;
    }
    .settleAccountsInfo_fd1_0_c0{
        color:var(--benbenFontColor7);font-size:48rpx;font-weight:700;
    }
    .settleAccountsInfo_fd1_0{
        margin:65rpx 0rpx 0rpx 0rpx;
    }
    .settleAccountsInfo_flex_2{
        background:var(--benbenbgColor1);background-size:100% auto;padding:32rpx 32rpx 32rpx 32rpx;
    }
    .settleAccountsInfo_fd2_5{
        font-size:26rpx;color:var(--benbenFontColor5);
    }
    .settleAccountsInfo_fd2_1{
        margin:0rpx 0rpx 24rpx 0rpx;font-size:26rpx;color:var(--benbenFontColor0);
    }
    .settleAccountsInfo_fd2_0_c2{
        font-size:28rpx;color:var(--benbenFontColor7);
    }
    .settleAccountsInfo_fd2_0_c1{
        color:var(--benbenFontColor7);font-size:28rpx;
    }
    .settleAccountsInfo_fd2_0_c0{
        font-size:28rpx;font-weight:700;
    }
    .settleAccountsInfo_fd2_0{
        margin:0rpx 0rpx 24rpx 0rpx;
    }
</style>